package com.yhf.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;


@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("stage")
public class Stage {
    @TableId(value = "sid",type = IdType.ASSIGN_UUID)
    private String sid;
    private String sname;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date starttime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endtime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updatetime;
    private Integer pid;
    private Integer status;


}
